/**
 * java多线程模式
 * @author andy.rong
 */

package com.myjavalab.thread;

public class PrintThread extends Thread{

	String message;
	
	public PrintThread(String message) {
		this.message = message;
	}
	
	public void run() {
		for(int i = 1; i < 10000; i++) {
			System.out.println(message);
		}
	}
}
